package com.stack.common.exception;


import com.stack.model.common.enums.AppHttpCodeEnum;

/**
 * @author llz
 * @date 2023/10/12 11:42
 * @description 业务异常
 */
public class CustomException extends RuntimeException {

    private AppHttpCodeEnum appHttpCodeEnum;

    public CustomException(AppHttpCodeEnum appHttpCodeEnum){
        this.appHttpCodeEnum = appHttpCodeEnum;
    }

    public AppHttpCodeEnum getAppHttpCodeEnum() {
        return appHttpCodeEnum;
    }
}
